from rest_framework import serializers

class Userser(serializers.Serializer):
    id = serializers.IntegerField()
    username = serializers.CharField(max_length=200)
    user_level = serializers.IntegerField()


class Goodsser(serializers.Serializer):
    id = serializers.IntegerField()
    title = serializers.CharField(max_length=200)
    price = serializers.CharField(max_length=200)


class Youhuiser(serializers.Serializer):
    id = serializers.IntegerField()
    price = serializers.CharField(max_length=200)

class Cartser(serializers.Serializer):
    name = serializers.CharField(max_length=200)
    price = serializers.CharField(max_length=200)


